package com.advertise.user.bo;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.advertise.framework.ISearchForm;
import com.advertise.framework.PagerResult;
import com.advertise.user.dao.UserIDAO;
import com.advertise.user.dto.UserDTO;

@Service
public class UserBO implements UserIBO {
	
	private final static Log log = LogFactory.getLog(UserIBO.class);
	
	@Autowired
	private UserIDAO userDAO;
	public PagerResult<UserDTO> findUsrByCondition(ISearchForm searchForm) {
		log.info(userDAO);
		return userDAO.findByCondision(searchForm);
	}

}
